package com.vehicle.service;

import com.vehicle.bean.DataGridView;
import com.vehicle.pojo.Permission;

import java.util.List;

public interface PermissionService {
    public Permission findPermissionById(Integer pid);


    //分页查询权限
    public DataGridView findPermissionByPage(Permission permission);

    //查询所有
    public List<Permission> findPermissions();

    //通过角色id获取权限pid集合
    public List<Integer> findPids(Integer rid);
}
